package com.maiji.cloud.entities.shopingmall;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 
 * Description: 分销代理申请表
 * 
 * @author zhanglr
 * @date 2019年9月17日
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@TableName("distribution_agent_apply")
@Table(name = "distribution_agent_apply")
public class DistributionAgentApplyEntity {

	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId; // 用户id

	@Column(name = "name", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String name; // 用户姓名

	@Column(name = "phone", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String phone; // 用户手机号

	@Column(name = "wx_num", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String wxNum; // 用户微信号

	@Column(name = "status", type = MySqlTypeConstant.INT, length = 1, defaultValue = "0")
	private Integer status; // 0：审核中，1审核通过，2审核拒绝

	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
	private Date inTime; // 插入时间

	@Column(name = "examine_time", type = MySqlTypeConstant.DATETIME)
	private Date examineTime; // 审核时间

    @Column(name = "operator_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String operatorId; // 操作者ID

    @Column(name = "operator_name", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String operatorName; // 操作者账号

}
